﻿var App = Ember.Application.create({
    // 定义了应用出口
    rootElement: '#emberApp',
    LOG_TRANSITIONS: true // basic logging of successful transitions
});

App.ApplicationAdapter = DS.FixtureAdapter.extend({});

Ember.Application.initializer({
    name: "storeInject",

    initialize: function (container, application) {
        application.store = container.lookup("store:main");
    }
});

//Ember.onerror = function (error) {
//    console.error(error);
//};